<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="fragment :: common_header(~{::title},~{::script},~{},~{::style})">
    <title>分类管理</title>
    <script type="text/javascript" th:src="@{/console/shopType/shopType.js}"></script>
    <script type="text/javascript">
        $(function () {
            $("#searchBtn").click();
        })
    </script>
    <style type="text/css">
        td{
            padding-top: 17px;
        }
    </style>
</head>
<body>
<div class="container" style="height:600px;width:95%">
    <div class="row">
        <form id="searchForm" class="form-horizontal" role="form" th:action="@{/shop/findShopPage}" method="post">
            <div class="form-group row">
                <label for="shopNo" class="col-sm-2 text-right">商品编号：</label>
                <div class="col-sm-3 text-left">
                    <input id="shopNo" name="shopNo" type="text" placeholder="商品编号"/>
                </div>
                <label for="shopName" class="col-sm-2 text-right">商品名称：</label>
                <div class="col-sm-3 text-left">
                    <input id="shopName" name="shopName" type="text" placeholder="商品名称"/>
                </div>
            </div>
            <div class="row text-right">
                <input class="btn btn-sm btn-primary" value="查询" type="button" id="searchBtn" onclick="pager.searchPage('searchForm');"/>
                <input class="btn btn-sm btn-success" value="重置" type="reset"/>
                <input class="btn btn-sm btn-info" value="新增" type="button" onclick="addShopType()"/>
            </div>
            <br/>
            <br/>
            <div class="row">
                <div class="row clearfix">
                    <div class="col-md-12 column">
                        <table class="table table-bordered table-condensed table-striped">
                            <thead>
                            <tr>
                                <th width="10%" class="text-center">
                                    序号
                                </th>
                                <th width="12%" class="text-center">
                                    编号
                                </th>
                                <th width="12%" class="text-center">
                                    商品名称
                                </th>
                                <th width="12%" class="text-center">
                                    商品价格
                                </th>
                                <th width="12%" class="text-center">
                                    商品折扣
                                </th>
                                <th width="12%" class="text-center">
                                    商品图片
                                </th>
                                <th width="12%" class="text-center">
                                    商品详情
                                </th>
                                <th class="text-center">
                                    操作
                                </th>
                            </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>